<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/public.css">
    <link rel="stylesheet" type="" href="http://at.alicdn.com/t/font_5ufdxzeyp919k9.css">
    <link rel="stylesheet" type="" href="./css/account.css">
    <title>Document</title>
</head>
<body>
    <div id="header">
        <span class="left" onclick="window.history.go(-1)"><i class="icon iconfont icon-fanhui"></i></span>
        <p>账户管理</p>
    </div>
    <div class="main">
        <div class="item">手机号 <input type="text"><i class="icon iconfont icon-gengduo"></i></div>
        <div class="item">修改登录密码 <input type="text"><i class="icon iconfont icon-gengduo"></i></div>
    </div>
    <div class="foot">退出登录</div>
</body>
</html>
<script>
    function calcRem() {
                var http = document.getElementsByTagName("html")[0];
                var w = document.documentElement.clientWidth;
                http.style.fontSize = w / 32 + "px";
            }
            calcRem();
            window.onresize = function() {
                calcRem();
            };
</script> 